package com.we.wecc.aw.db.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class AwardExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AwardExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNull() {
            addCriterion("productId is null");
            return (Criteria) this;
        }

        public Criteria andProductIdIsNotNull() {
            addCriterion("productId is not null");
            return (Criteria) this;
        }

        public Criteria andProductIdEqualTo(Integer value) {
            addCriterion("productId =", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotEqualTo(Integer value) {
            addCriterion("productId <>", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThan(Integer value) {
            addCriterion("productId >", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("productId >=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThan(Integer value) {
            addCriterion("productId <", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdLessThanOrEqualTo(Integer value) {
            addCriterion("productId <=", value, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdIn(List<Integer> values) {
            addCriterion("productId in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotIn(List<Integer> values) {
            addCriterion("productId not in", values, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdBetween(Integer value1, Integer value2) {
            addCriterion("productId between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andProductIdNotBetween(Integer value1, Integer value2) {
            addCriterion("productId not between", value1, value2, "productId");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIsNull() {
            addCriterion("awardStatus is null");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIsNotNull() {
            addCriterion("awardStatus is not null");
            return (Criteria) this;
        }

        public Criteria andAwardStatusEqualTo(Integer value) {
            addCriterion("awardStatus =", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotEqualTo(Integer value) {
            addCriterion("awardStatus <>", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusGreaterThan(Integer value) {
            addCriterion("awardStatus >", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("awardStatus >=", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusLessThan(Integer value) {
            addCriterion("awardStatus <", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusLessThanOrEqualTo(Integer value) {
            addCriterion("awardStatus <=", value, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusIn(List<Integer> values) {
            addCriterion("awardStatus in", values, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotIn(List<Integer> values) {
            addCriterion("awardStatus not in", values, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusBetween(Integer value1, Integer value2) {
            addCriterion("awardStatus between", value1, value2, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andAwardStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("awardStatus not between", value1, value2, "awardStatus");
            return (Criteria) this;
        }

        public Criteria andInvestmentIsNull() {
            addCriterion("investment is null");
            return (Criteria) this;
        }

        public Criteria andInvestmentIsNotNull() {
            addCriterion("investment is not null");
            return (Criteria) this;
        }

        public Criteria andInvestmentEqualTo(Double value) {
            addCriterion("investment =", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentNotEqualTo(Double value) {
            addCriterion("investment <>", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentGreaterThan(Double value) {
            addCriterion("investment >", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentGreaterThanOrEqualTo(Double value) {
            addCriterion("investment >=", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentLessThan(Double value) {
            addCriterion("investment <", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentLessThanOrEqualTo(Double value) {
            addCriterion("investment <=", value, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentIn(List<Double> values) {
            addCriterion("investment in", values, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentNotIn(List<Double> values) {
            addCriterion("investment not in", values, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentBetween(Double value1, Double value2) {
            addCriterion("investment between", value1, value2, "investment");
            return (Criteria) this;
        }

        public Criteria andInvestmentNotBetween(Double value1, Double value2) {
            addCriterion("investment not between", value1, value2, "investment");
            return (Criteria) this;
        }

        public Criteria andAmountIsNull() {
            addCriterion("amount is null");
            return (Criteria) this;
        }

        public Criteria andAmountIsNotNull() {
            addCriterion("amount is not null");
            return (Criteria) this;
        }

        public Criteria andAmountEqualTo(Integer value) {
            addCriterion("amount =", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotEqualTo(Integer value) {
            addCriterion("amount <>", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThan(Integer value) {
            addCriterion("amount >", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountGreaterThanOrEqualTo(Integer value) {
            addCriterion("amount >=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThan(Integer value) {
            addCriterion("amount <", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountLessThanOrEqualTo(Integer value) {
            addCriterion("amount <=", value, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountIn(List<Integer> values) {
            addCriterion("amount in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotIn(List<Integer> values) {
            addCriterion("amount not in", values, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountBetween(Integer value1, Integer value2) {
            addCriterion("amount between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andAmountNotBetween(Integer value1, Integer value2) {
            addCriterion("amount not between", value1, value2, "amount");
            return (Criteria) this;
        }

        public Criteria andTimesIsNull() {
            addCriterion("times is null");
            return (Criteria) this;
        }

        public Criteria andTimesIsNotNull() {
            addCriterion("times is not null");
            return (Criteria) this;
        }

        public Criteria andTimesEqualTo(Integer value) {
            addCriterion("times =", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotEqualTo(Integer value) {
            addCriterion("times <>", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesGreaterThan(Integer value) {
            addCriterion("times >", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("times >=", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesLessThan(Integer value) {
            addCriterion("times <", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesLessThanOrEqualTo(Integer value) {
            addCriterion("times <=", value, "times");
            return (Criteria) this;
        }

        public Criteria andTimesIn(List<Integer> values) {
            addCriterion("times in", values, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotIn(List<Integer> values) {
            addCriterion("times not in", values, "times");
            return (Criteria) this;
        }

        public Criteria andTimesBetween(Integer value1, Integer value2) {
            addCriterion("times between", value1, value2, "times");
            return (Criteria) this;
        }

        public Criteria andTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("times not between", value1, value2, "times");
            return (Criteria) this;
        }

        public Criteria andBoostLimIsNull() {
            addCriterion("boostLim is null");
            return (Criteria) this;
        }

        public Criteria andBoostLimIsNotNull() {
            addCriterion("boostLim is not null");
            return (Criteria) this;
        }

        public Criteria andBoostLimEqualTo(Integer value) {
            addCriterion("boostLim =", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimNotEqualTo(Integer value) {
            addCriterion("boostLim <>", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimGreaterThan(Integer value) {
            addCriterion("boostLim >", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimGreaterThanOrEqualTo(Integer value) {
            addCriterion("boostLim >=", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimLessThan(Integer value) {
            addCriterion("boostLim <", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimLessThanOrEqualTo(Integer value) {
            addCriterion("boostLim <=", value, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimIn(List<Integer> values) {
            addCriterion("boostLim in", values, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimNotIn(List<Integer> values) {
            addCriterion("boostLim not in", values, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimBetween(Integer value1, Integer value2) {
            addCriterion("boostLim between", value1, value2, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostLimNotBetween(Integer value1, Integer value2) {
            addCriterion("boostLim not between", value1, value2, "boostLim");
            return (Criteria) this;
        }

        public Criteria andBoostNumIsNull() {
            addCriterion("boostNum is null");
            return (Criteria) this;
        }

        public Criteria andBoostNumIsNotNull() {
            addCriterion("boostNum is not null");
            return (Criteria) this;
        }

        public Criteria andBoostNumEqualTo(Integer value) {
            addCriterion("boostNum =", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumNotEqualTo(Integer value) {
            addCriterion("boostNum <>", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumGreaterThan(Integer value) {
            addCriterion("boostNum >", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("boostNum >=", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumLessThan(Integer value) {
            addCriterion("boostNum <", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumLessThanOrEqualTo(Integer value) {
            addCriterion("boostNum <=", value, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumIn(List<Integer> values) {
            addCriterion("boostNum in", values, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumNotIn(List<Integer> values) {
            addCriterion("boostNum not in", values, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumBetween(Integer value1, Integer value2) {
            addCriterion("boostNum between", value1, value2, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostNumNotBetween(Integer value1, Integer value2) {
            addCriterion("boostNum not between", value1, value2, "boostNum");
            return (Criteria) this;
        }

        public Criteria andBoostSumIsNull() {
            addCriterion("boostSum is null");
            return (Criteria) this;
        }

        public Criteria andBoostSumIsNotNull() {
            addCriterion("boostSum is not null");
            return (Criteria) this;
        }

        public Criteria andBoostSumEqualTo(Integer value) {
            addCriterion("boostSum =", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumNotEqualTo(Integer value) {
            addCriterion("boostSum <>", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumGreaterThan(Integer value) {
            addCriterion("boostSum >", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumGreaterThanOrEqualTo(Integer value) {
            addCriterion("boostSum >=", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumLessThan(Integer value) {
            addCriterion("boostSum <", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumLessThanOrEqualTo(Integer value) {
            addCriterion("boostSum <=", value, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumIn(List<Integer> values) {
            addCriterion("boostSum in", values, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumNotIn(List<Integer> values) {
            addCriterion("boostSum not in", values, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumBetween(Integer value1, Integer value2) {
            addCriterion("boostSum between", value1, value2, "boostSum");
            return (Criteria) this;
        }

        public Criteria andBoostSumNotBetween(Integer value1, Integer value2) {
            addCriterion("boostSum not between", value1, value2, "boostSum");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesIsNull() {
            addCriterion("partnerTimes is null");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesIsNotNull() {
            addCriterion("partnerTimes is not null");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesEqualTo(Integer value) {
            addCriterion("partnerTimes =", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesNotEqualTo(Integer value) {
            addCriterion("partnerTimes <>", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesGreaterThan(Integer value) {
            addCriterion("partnerTimes >", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("partnerTimes >=", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesLessThan(Integer value) {
            addCriterion("partnerTimes <", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesLessThanOrEqualTo(Integer value) {
            addCriterion("partnerTimes <=", value, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesIn(List<Integer> values) {
            addCriterion("partnerTimes in", values, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesNotIn(List<Integer> values) {
            addCriterion("partnerTimes not in", values, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesBetween(Integer value1, Integer value2) {
            addCriterion("partnerTimes between", value1, value2, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("partnerTimes not between", value1, value2, "partnerTimes");
            return (Criteria) this;
        }

        public Criteria andPartnerNumIsNull() {
            addCriterion("partnerNum is null");
            return (Criteria) this;
        }

        public Criteria andPartnerNumIsNotNull() {
            addCriterion("partnerNum is not null");
            return (Criteria) this;
        }

        public Criteria andPartnerNumEqualTo(Integer value) {
            addCriterion("partnerNum =", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumNotEqualTo(Integer value) {
            addCriterion("partnerNum <>", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumGreaterThan(Integer value) {
            addCriterion("partnerNum >", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("partnerNum >=", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumLessThan(Integer value) {
            addCriterion("partnerNum <", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumLessThanOrEqualTo(Integer value) {
            addCriterion("partnerNum <=", value, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumIn(List<Integer> values) {
            addCriterion("partnerNum in", values, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumNotIn(List<Integer> values) {
            addCriterion("partnerNum not in", values, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumBetween(Integer value1, Integer value2) {
            addCriterion("partnerNum between", value1, value2, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andPartnerNumNotBetween(Integer value1, Integer value2) {
            addCriterion("partnerNum not between", value1, value2, "partnerNum");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNull() {
            addCriterion("temperature is null");
            return (Criteria) this;
        }

        public Criteria andTemperatureIsNotNull() {
            addCriterion("temperature is not null");
            return (Criteria) this;
        }

        public Criteria andTemperatureEqualTo(Double value) {
            addCriterion("temperature =", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotEqualTo(Double value) {
            addCriterion("temperature <>", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThan(Double value) {
            addCriterion("temperature >", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureGreaterThanOrEqualTo(Double value) {
            addCriterion("temperature >=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThan(Double value) {
            addCriterion("temperature <", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureLessThanOrEqualTo(Double value) {
            addCriterion("temperature <=", value, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureIn(List<Double> values) {
            addCriterion("temperature in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotIn(List<Double> values) {
            addCriterion("temperature not in", values, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureBetween(Double value1, Double value2) {
            addCriterion("temperature between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andTemperatureNotBetween(Double value1, Double value2) {
            addCriterion("temperature not between", value1, value2, "temperature");
            return (Criteria) this;
        }

        public Criteria andWeccNumIsNull() {
            addCriterion("weccNum is null");
            return (Criteria) this;
        }

        public Criteria andWeccNumIsNotNull() {
            addCriterion("weccNum is not null");
            return (Criteria) this;
        }

        public Criteria andWeccNumEqualTo(Double value) {
            addCriterion("weccNum =", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumNotEqualTo(Double value) {
            addCriterion("weccNum <>", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumGreaterThan(Double value) {
            addCriterion("weccNum >", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumGreaterThanOrEqualTo(Double value) {
            addCriterion("weccNum >=", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumLessThan(Double value) {
            addCriterion("weccNum <", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumLessThanOrEqualTo(Double value) {
            addCriterion("weccNum <=", value, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumIn(List<Double> values) {
            addCriterion("weccNum in", values, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumNotIn(List<Double> values) {
            addCriterion("weccNum not in", values, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumBetween(Double value1, Double value2) {
            addCriterion("weccNum between", value1, value2, "weccNum");
            return (Criteria) this;
        }

        public Criteria andWeccNumNotBetween(Double value1, Double value2) {
            addCriterion("weccNum not between", value1, value2, "weccNum");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("startTime is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("startTime is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("startTime =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("startTime <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("startTime >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("startTime >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("startTime <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("startTime <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("startTime in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("startTime not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("startTime between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("startTime not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("endTime is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("endTime is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("endTime =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("endTime <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("endTime >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("endTime >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("endTime <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("endTime <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("endTime in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("endTime not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("endTime between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("endTime not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("createTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("delFlag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("delFlag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Integer value) {
            addCriterion("delFlag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Integer value) {
            addCriterion("delFlag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Integer value) {
            addCriterion("delFlag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Integer value) {
            addCriterion("delFlag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Integer value) {
            addCriterion("delFlag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Integer value) {
            addCriterion("delFlag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Integer> values) {
            addCriterion("delFlag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Integer> values) {
            addCriterion("delFlag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Integer value1, Integer value2) {
            addCriterion("delFlag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Integer value1, Integer value2) {
            addCriterion("delFlag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}